#ifndef GRENADE_H_
#define GRENADE_H_

#include "Weapon.h"
#include "Object.h"
#include "GrenadeObject.h"
#include "TextureManager.h"
class Grenade : public Weapon
{

	TextureManager * textureManager;
	int count;
	float strength;
	float fuseLength;
	float maxThrowStrength;
	float mass;
	Object * owner;
	GrenadeObject * grenade;
	
public:
	Grenade(TextureManager * textureManager, Object * owner, float strength, float fuse, float maxThrowStrength, float mass);
	virtual ~Grenade();
	
	virtual void UseWeapon(Object * target);
	virtual bool CanUseWeapon(double elapsedTime);
	virtual bool IsUsingWeapon();	
	virtual bool IsWaitingForWeapon();
	virtual void WeaponThinkEntryPoint(double elapsedTime, Object * target, bool isCapable);
	
};
#endif /*GRENADE_H_*/
